I remove HTML tags from a string using the StripTags method. In one case, when the string contains the " " character, the method replaces it with the "at" sign (@). Is there any other way to get rid of the tags and turn   to space?
and I use simply: description = HTMLHelper.StripTags(Model.Description); while Model.Description string is e.g.:
description = HTMLHelper.StripTags(Model.Description);
"<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, «   sed do eiusmod   » tempor... </p>"
as a result I get:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, « @ sed do eiusmod @ » tempor...
  by itself may not be considered a real full HTML Entity (has to start with @ and end with ;. Can you try using ?
 
@
;
Please, sign in to be able to submit a new answer.